package com.group.mall.domain.POJO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

/**
 * @Author：xiexu
 * @Date：2024/6/18 14:20
 */

@Data
public class Cart extends ShoppingCart {
    private Integer cartId;
    private Integer userId;
    private Integer goodsId;
    private Integer buyCount;
    private Double goodPrice;
    private String goodName;
    private String goodImage;
    private String version;
    private String color;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate createTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate updateTime;
}
